package com.zz.parkingsystem.mapper;

import com.zz.parkingsystem.dto.UserFeedbackDTO;
import com.zz.parkingsystem.entity.UserFeedback;
import com.zz.parkingsystem.vo.UserFeedbackVO;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
* @author zz
* @description 针对表【t_user_feedback(用户反馈表)】的数据库操作Mapper
* @createDate 2022-08-30 16:38:45
* @Entity com.zz.parkingsystem.entity.UserFeedback
*/
@Mapper
@Repository
public interface UserFeedbackMapper {

    List<UserFeedbackVO> queryAllUserFeedBack(UserFeedbackDTO userFeedbackDTO);

    Long getUserFBCount(UserFeedbackDTO userFeedbackDTO);

    int deleteByPrimaryKey(Long id);

    int insert(UserFeedback record);

    int insertSelective(UserFeedback record);

    UserFeedback selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserFeedback record);

    int updateByPrimaryKey(UserFeedback record);

}
